package exo2;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 14/10/13
 * Time: 16:32
 * To change this template use File | Settings | File Templates.
 */
public abstract class EnseignantPermanant extends Enseignant {

    private String domaineRech;

    public EnseignantPermanant(String domaineRech) {
        this.domaineRech=domaineRech;
    }

    public String getDomaineRech() {
        return domaineRech;
    }

    public void setDomaineRech(String domaineRech) {
        this.domaineRech = domaineRech;
    }

    @Override
    public String toString() {
        return super.toString() + " Domaine de recherche :  " + this.domaineRech ;
    }
}
